enums: Add a GtkSymbolicColor enum
authorBenjamin Otte <otte@redhat.com>
Mon, 30 Aug 2021 02:32:22 +0000 (04:32 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 30 Aug 2021 02:36:16 +0000 (04:36 +0200)
commit6c87d362c5d52ad26cff03e7cab87496a4d51ae4
tree559e02023faa91ed8b27b59afcdc91abddb345f9
parent7cdbdb663c35b72f8934698e8823d96ebef78ce5
enums: Add a GtkSymbolicColor enum

That way we don't nedmagic numbres to index the colors array.

Use it in the symbolic paintable demo.
demos/gtk-demo/paintable_symbolic.c
gtk/gtkenums.h